package com.linb.pan.server.modules.file.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@ApiModel(value = "文件搜索参数")
public class FileSearchPO implements Serializable {

    private static final long serialVersionUID = -979826456263428004L;

    @ApiModelProperty(value = "搜索关键字", required = true)
    @NotBlank(message = "搜索关键字不能为空")
    private String keyword;

    @ApiModelProperty(value = "文件类型集合，多个文件使用分隔符拼接")
    private String fileTypes;

}
